import { useGetApi, usePostApi, usePutApi, useDeleteApi } from "@/api/index";
const app = getApp();
Page({
  data: {
    titleList: [{ name: "标题1" }, { name: "标题2" }, { name: "标题3" }],
    current: 0,
  },
  getCurrentIndex(e) {
    let current = e.detail;
    this.setData({
      current,
    });
  },
});
